package com.ssyt.hiring.web.action;

import java.io.IOException;

import org.apache.struts2.ServletActionContext;

public class CommonAction {
	/**
	 * 封装检查是否重名返回结果集
	 * 
	 * @param result
	 */
	public void print(String result) {
		try {
			ServletActionContext.getResponse().getWriter().print(result);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
